/*
 * Copyright (C) 拾光分享网 
 * All rights reserved, Designed By www.hiai.top.
 * Email：goodsking@163.com.
 * Version：V1.0.2(20230701).
 */
package top.hiai.common.model.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

import java.util.Date;

/**
* @Author www.hiai.top
* @Email  goodsking@163.com
* @Message 更多资源尽在www.hiai.top
* @Introduction 类的介绍
*/

@SuppressWarnings("serial")
public abstract class DownloadBase<M extends DownloadBase<M>> extends Model<M> implements IBean {
	
	public M setXid(Integer xid) {
		set("xid", xid);
		return (M)this;
	}

	public Integer getXid() {
		return getInt("xid");
	}

	public M setDownload_date(Date download_date) {
		set("download_date", download_date);
		return (M)this;
	}

	public Date getDownload_date() {
		return getDate("download_date");
	}

	public M setUser_id(Integer user_id) {
		set("user_id", user_id);
		return (M)this;
	}

	public Integer getUser_id() {
		return getInt("user_id");
	}

	public M setArticle_id(Integer article_id) {
		set("article_id", article_id);
		return (M)this;
	}

	public Integer getArticle_id() {
		return getInt("article_id");
	}
	
}